package com.bwie.service;

import com.bwie.service.impl.IUserServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @description :
 * @Author QiHainan
 * @Create 2025/3/24 19:27
 * @Version 1.0
 */
@FeignClient(value = "server-pay-user", fallback = IUserServiceImpl.class)
public interface IUserService {

    @PostMapping("/user/index/getUserById/{userId}")
    public R getUserById(@PathVariable(name = "userId") int userId);

}
